]> dgit.raspbian.org Git - gnome-shell.git/commit
weather: Handle missing permission store
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 3 Apr 2019 10:35:03 +0000 (12:35 +0200)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Wed, 3 Apr 2019 13:27:42 +0000 (13:27 +0000)
commitfea01927720e5d73e14e1649ee36cc6c60835d6f
treee5660b95cbb2f172c9af8b20ac7d20c49ae34afd
parentf81ac498fbb9a12cfefe52ec363a09e6d0cd48c8
weather: Handle missing permission store

Our weather integration is supposed to follow GNOME Weather's settings,
including its permission to use location services. However there's a
discrepancy in case xdg-desktop-portal is unavailable:

While our geoclue agent grants all applications access to location
services in that case, the weather integration treats it as if
access was denied.

Fix this by handling this case explicitly.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1130
js/misc/weather.js